home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ctlhtmlc / modeless.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-09  |  1.8 KB  |  54 lines

  1. /*---------------------------------------------------------------------------*\
  2.  | Modeless.h   - CtlHTML(tm) Control Library Test Program                   |
  3.  |                Windmill Point Software, Alburg, VT 05440                  |
  4.  |                Copyright (c) 1999, Windmill Point Software                |
  5.  |                All Rights Reserved.                                       |
  6. \*---------------------------------------------------------------------------*/
  7.  
  8. #if !defined(AFX_MODELESS_H__9FFC7562_0563_11D3_8171_00104BCD3AB4__INCLUDED_)
  9. #define AFX_MODELESS_H__9FFC7562_0563_11D3_8171_00104BCD3AB4__INCLUDED_
  10.  
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CModeless dialog
  17.  
  18. class CModeless : public CDialog
  19. {
  20. // Construction
  21. public:
  22.     CModeless(CWnd* pParent = NULL);   // standard constructor
  23.  
  24. // Dialog Data
  25.     //{{AFX_DATA(CModeless)
  26.     enum { IDD = IDD_MODELESS_MESSAGEBOX };
  27.     //}}AFX_DATA
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CModeless)
  32.     protected:
  33.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34.     virtual BOOL OnInitDialog();
  35.     virtual void OnOK();
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. protected:
  40.  
  41.     // Generated message map functions
  42.     //{{AFX_MSG(CModeless)
  43.    afx_msg LRESULT OnSizeToFit (WPARAM wParam, LPARAM lParam);
  44.     afx_msg void OnDestroy();
  45.    afx_msg void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized );
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. // {{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52.  
  53. #endif // !defined(AFX_MODELESS_H__9FFC7562_0563_11D3_8171_00104BCD3AB4__INCLUDED_)
  54.